#ifndef THREADWEBLOG_H
#define THREADWEBLOG_H

#include <QThread>

/*
这个类对日志读写，写在本地硬盘
  */

class WriteLog;

class ThreadWriteLog : public QThread
{
    Q_OBJECT
public:
    //pHead是网关协议的头字节
    explicit ThreadWriteLog(QObject *parent = 0);
    ~ThreadWriteLog();
    void run();
    WriteLog *writeLog;
private:


public slots:


signals:
    void sigWriteLog(QByteArray log);


};

#endif // THREADWEBLOG_H
